class CommentController < ApplicationController
 def create
    @blog_post = Post.find(params[:id])
    @comment = @blog_post.comments.create!(params[:comment])
    redirect_to @blog_post
  end
end
